package com.crr.mall.product.feign;

import com.crr.mall.common.to.SkuRelationTO;
import com.crr.mall.common.to.SpuBoundsTO;
import com.crr.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("renrenmall-coupon")
public interface CouponFeignService {
    @PostMapping("/coupon/spubounds/save")
    R saveBounds(@RequestBody SpuBoundsTO spuBoundsTO);

    @PostMapping("/coupon/skufullreduction/saveinfo")
     R saveSkuRelation(@RequestBody SkuRelationTO skuRelationTO);


}
